@import url('variables.css');
@import url('layout.css');
@import url('dashboard.css');
@import url('logs.css');
@import url('keywords.css');
@import url('accounts.css');
@import url('items.css');
@import url('notifications.css');
@import url('components.css');

/* 子菜单样式 */
.nav-submenu {
  margin-left: 1rem;
  margin-top: 0.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.submenu-item {
  padding-left: 1rem;
}

.submenu-item .nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.submenu-item .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.submenu-item .nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
}

/* 个人信息页面样式 */
.stat-item {
  padding: 1rem;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #e9ecef;
  object-fit: cover;
}

.user-info-card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.user-info-card .card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

/* 表单样式优化 */
#userInfoForm .form-control,
#personalPasswordForm .form-control {
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  transition: all 0.15s ease-in-out;
}

#userInfoForm .form-control:focus,
#personalPasswordForm .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 聚合豆相关样式 */
.balance-card {
  background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
  color: white;
  border: none;
}

.balance-amount {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.balance-icon {
  font-size: 1.5rem;
  opacity: 0.8;
}

.balance-record-item {
  border-left: 4px solid #ffc107;
  transition: all 0.2s ease;
}

.balance-record-item:hover {
  background-color: #f8f9fa;
  border-left-color: #ff8f00;
}

.consumption-amount {
  color: #dc3545;
  font-weight: bold;
}

.balance-operations .btn {
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.balance-operations .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

